package com.stox.core.model;

import java.util.Date;

public interface IBar extends Comparable<IBar>{

	public abstract void validate();

	public abstract void format();

	public abstract Date getDate();

	public abstract void setDate(Date date);

	public abstract double getOpen();

	public abstract void setOpen(double open);

	public abstract double getHigh();

	public abstract void setHigh(double high);

	public abstract double getLow();

	public abstract void setLow(double low);

	public abstract double getClose();

	public abstract void setClose(double close);

	public abstract double getVolume();

	public abstract void setVolume(double volume);

	public abstract String getScripCode();

	public abstract void setScripCode(String scripCode);

	public abstract int hashCode();

	public abstract boolean equals(Object obj);

	public abstract Scrip getScrip();

	public abstract void setScrip(Scrip scrip);

	public abstract double getLast();

	public abstract void setLast(double last);

	public abstract double getPreviousClose();

	public abstract void setPreviousClose(double previousClose);

	public abstract double getTurnover();

	public abstract void setTurnover(double turnover);

	public abstract double getTrades();

	public abstract void setTrades(double trades);

}